/**
 * Dispatch
 */
export interface DispatchWorker {
  planEndDate: number;
  planStartDate: number;
  workers: WorkerItem[];
  /**
   * 工种
   */
  workerType: string;
}

/**
 * 派工列表项
 */
export interface DispatchListItem {
  planEndDate: number;
  planStartDate: number;

  /**
   * 0 未完工 1 完工 （存在88的值）
   */
  completeState: 0 | 1;
  /**
   * 0 未开工 | 1 已开工
   */
  startState: 0 | 1;

  workers: DispatchWorker[];
  /**
   * 工种
   */
  workerType: string;
}

/**
 * WorkerItem
 */
export interface DispatchWorker {
  workerDistributeId: number;
  workerId: string;
  workerName: string;
  intentCustomerId: number;
  customerNo: string;
  customerName: string;
  workerType: string;
  planId: number;
  constructionPeriod: number;
  startDate: number;
  endDate: number;
}
